package com.taobao.api.response;

import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.TaobaoObject;
import java.util.Date;

import com.taobao.api.TaobaoResponse;

/**
 * TOP API: tmall.cloudstore.trade.pos.update response.
 * 
 * @author top auto create
 * @since 1.0, null
 */
public class TmallCloudstoreTradePosUpdateResponse extends TaobaoResponse {

	private static final long serialVersionUID = 4756362189899565361L;

	/** 
	 * 返回结果
	 */
	@ApiField("result")
	private ResultDo result;


	public void setResult(ResultDo result) {
		this.result = result;
	}
	public ResultDo getResult( ) {
		return this.result;
	}
	
	/**
 * 是否成功
 *
 * @author top auto create
 * @since 1.0, null
 */
public static class PosPassBackDto extends TaobaoObject {

	private static final long serialVersionUID = 8364773342654263231L;

	/**
		 * 主订单号
		 */
		@ApiField("order_id")
		private Long orderId;
		/**
		 * 更新时间
		 */
		@ApiField("update_time")
		private Date updateTime;
	

	public Long getOrderId() {
			return this.orderId;
		}
		public void setOrderId(Long orderId) {
			this.orderId = orderId;
		}
		public Date getUpdateTime() {
			return this.updateTime;
		}
		public void setUpdateTime(Date updateTime) {
			this.updateTime = updateTime;
		}

}

	/**
 * 返回结果
 *
 * @author top auto create
 * @since 1.0, null
 */
public static class ResultDo extends TaobaoObject {

	private static final long serialVersionUID = 4781111747879237794L;

	/**
		 * 是否成功
		 */
		@ApiField("data")
		private PosPassBackDto data;
		/**
		 * 错误码
		 */
		@ApiField("err_code")
		private Long errCode;
		/**
		 * 错误信息
		 */
		@ApiField("err_msg")
		private String errMsg;
		/**
		 * 调用是否成功
		 */
		@ApiField("success")
		private Boolean success;
	

	public PosPassBackDto getData() {
			return this.data;
		}
		public void setData(PosPassBackDto data) {
			this.data = data;
		}
		public Long getErrCode() {
			return this.errCode;
		}
		public void setErrCode(Long errCode) {
			this.errCode = errCode;
		}
		public String getErrMsg() {
			return this.errMsg;
		}
		public void setErrMsg(String errMsg) {
			this.errMsg = errMsg;
		}
		public Boolean getSuccess() {
			return this.success;
		}
		public void setSuccess(Boolean success) {
			this.success = success;
		}

}



}
